﻿<UserControl x:Class="Studio77.GuessTheWords2.Views.ClassifyItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    Height="162" Width="162">
	<UserControl.Resources>
		<Style x:Key="ButtonStyle1" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image1">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="MouseOver"/>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Image x:Name="image" Source="/Images/classitem_normal.png" Stretch="Fill"/>
							<Image x:Name="image1" Source="/Images/classitem_normal_press.png" Stretch="Fill" Visibility="Collapsed"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">
    	<Button x:Name="btnNormal" Click="btnNormal_Click_1" Style="{StaticResource ButtonStyle1}"/>
        <Image IsHitTestVisible="False" x:Name="imgLock" Source="/Images/classitem_lock.png" Stretch="Fill" Visibility="Collapsed"/>
        <Image IsHitTestVisible="False" x:Name="imgUnable" Source="/Images/classitem_unable.png" Stretch="Fill" Visibility="Collapsed"/>
    	<TextBlock IsHitTestVisible="False" x:Name="txtClassIndex" HorizontalAlignment="Center" TextWrapping="Wrap" Text="1" VerticalAlignment="Top" Foreground="Black" FontFamily="Segoe WP Black" Margin="0,16,0,0" FontSize="32"/>
        <TextBlock IsHitTestVisible="False" x:Name="txtTotalTime" HorizontalAlignment="Left" Margin="66,73,0,0" TextWrapping="Wrap" Text="27‘38" VerticalAlignment="Top" Foreground="White" FontFamily="Segoe WP Semibold" FontSize="24"/>
        <TextBlock IsHitTestVisible="False" x:Name="txtComplateStar" HorizontalAlignment="Left" Margin="63,108,0,0" TextWrapping="Wrap" Text="100/150" VerticalAlignment="Top" Foreground="White" FontFamily="Segoe WP Semibold" FontSize="21.333"/>

    </Grid>
</UserControl>